{{#if showConfirm}}
<button {{action 'deleteConfirm' false}} class="pure-button">取消</button>
<button {{action 'deleteConfirm' true}}class="button-error pure-button">确认删除</button>
{{else}}
<div class="pure-menu pure-menu-horizontal inline-div">
  <ul class="pure-menu-list">
    {{#each showMenus as |m|}}
      <li class="pure-menu-item">
        {{#if m.linkTo}}
            {{#link-to m.linkTo class="pure-menu-link list-view-menu" }}{{m.label}}{{/link-to}}
        {{/if}}
        {{#if m.action}}
          <a {{action "menuClicked" m.name}} href="#" class="pure-menu-link list-view-menu">{{m.label}}</a>
        {{/if}}
      </li>
    {{/each}}
  </ul>
</div>
{{/if}}
